﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ejercicios
{
    class Program
    {
        static void Main(string[] args)
        {
            Curso c = new Curso();
            Alumno a;//=new Alumno();
            a=new Alumno ( "Perez", "Juan",2023, 9.1);
            c.agregarAlumno(a);
            a= new Alumno("Gonzalez", "Carolina", 2127, 4.1);
            c.agregarAlumno(a);
            a=new Alumno("Tennyson", "Benjamin",2010,  9.99);
            c.agregarAlumno(a);
            a=new Alumno( "Tula", "Liliana",2982, 7.8);
            c.agregarAlumno(a);
            a=new Alumno( "", "Pedro",2195, 3.4);
            c.agregarAlumno(a);
            
            

            System.Console.WriteLine("resulrtados: ");

            System.Console.WriteLine("el mas ñoño: "+ c.obtenerMejorAlumno().ToString());
            System.Console.ReadLine();
        }

    }
}
